
var app = sm('do_App');
var page = sm("do_Page");

var listdata = mm("do_ListData");
//定义UI组件
var confirm = ui("do_Button_Confirm");
var mData = page.getData();
var cacher = sm("do_DataCache");
page.on('back',function(){
	app.closePage(page);
});
page.on('loaded',function(){

	
	ui("title").text = mData.title;
	ui("textshow").text = mData.message;
	ui('money').text = mData.money;//储值金额
	ui('moneyType').text = "暂无优惠";
	ui('moneyvalue').text = mData.moneyvalue;
	ui('resmoney').text = mData.balance-mData.money;
	//ui('time').text = formatDateTime(mData.current_login_time);
	
	
	
	

});
/*****返回按钮*****/
confirm.on("touch",function(){
	app.closePage(page);
});

var do_Button_Confirm = ui("do_Button_Confirm");
do_Button_Confirm.on("touch",function(){
	app.openPage("source://view/index.ui");
})


